package cn.edu.ujn.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.ujn.common.annotation.Excel;
import cn.edu.ujn.common.core.domain.BaseEntity;

/**
 * 宿舍楼信息管理对象 f_building
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class FBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宿舍楼id */
    @Excel(name = "宿舍楼id")
    private Long buildingId;

    /** 宿舍楼名字 */
    @Excel(name = "宿舍楼名字")
    private String buildingName;

    /** 宿舍人数 */
    @Excel(name = "宿舍人数")
    private Long buildingPop;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Long adminId;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long buildingFloor;

    /** 管理员信息管理信息 */
    private List<FAdmin> fAdminList;

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }
    public void setBuildingPop(Long buildingPop) 
    {
        this.buildingPop = buildingPop;
    }

    public Long getBuildingPop() 
    {
        return buildingPop;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setBuildingFloor(Long buildingFloor) 
    {
        this.buildingFloor = buildingFloor;
    }

    public Long getBuildingFloor() 
    {
        return buildingFloor;
    }

    public List<FAdmin> getFAdminList()
    {
        return fAdminList;
    }

    public void setFAdminList(List<FAdmin> fAdminList)
    {
        this.fAdminList = fAdminList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingId", getBuildingId())
            .append("buildingName", getBuildingName())
            .append("buildingPop", getBuildingPop())
            .append("adminId", getAdminId())
            .append("buildingFloor", getBuildingFloor())
            .append("fAdminList", getFAdminList())
            .toString();
    }
}
